package com.guomei.constans;

import lombok.Getter;

@Getter
public enum RoleCode {
    /**
     * 学生
     */
    STUDENT(50, "学生"),

    /**
     * 授课老师
     */
    INSTRUCTOR(150, "授课老师"),

    /**
     * 招生老师
     */
    ADMISSIONS_TEACHER(100, "招生老师"),

    /**
     * 考试打分
     */
    EXAM_GRADING(80, "考试打分"),

    /**
     * 后台管理人员
     */
    BACKEND_ADMINISTRATOR(300, "后台管理人员");

    private final int code;
    private final String msg;

    RoleCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
